package com.thon.service.project;

import java.util.List;

import com.thon.dao.util.Page;
import com.thon.entity.project.Project;
import com.thon.entity.project.ProjectAttention;

/**
 * @file ProjectAttentionService.java
 * @author Zemo
 * @mail zemochen@gmail.com
 * @data 2013年11月15日 下午4:57:47
 * @description: TODO
 */
public interface ProjectAttentionService {
	
	public void add(ProjectAttention projectAttention); 
	
	public void delete(Integer id);
	
	public ProjectAttention getProjectAttention(int projectAttentionId);
	
	public Long countProjectAttention(int projectId);
	
	public Integer getProjectAttention(Integer userId,Integer projectId);
	
	public List<ProjectAttention> listAttentionByPro(Project project);

	public Page<ProjectAttention> findProjectAttentionByUser(Integer userId,
			Integer pageNo, Integer pageSize);
}
